<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo ($media["title"]); ?></title>
<meta name="keywords" content="<?php echo ($media["keywords"]); ?>" />
<meta name="description" content="<?php echo ($media["description"]); ?>" />
<link href="css/base.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--#include file="head.html"-->
<div class="g-bd">
	<div class="g-mn">
		<div class="m-crumb">
			<ul class="f-cb">
				<li><a href="/DuxCms-2.0/">首页</a></li>
				<?php if(is_array($crumb)): foreach($crumb as $key=>$vo): ?><li><i>&gt;</i><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["name"]); ?></a></li><?php endforeach; endif; ?>
			</ul>
		</div>
		<?php if(is_array($pageList)): foreach($pageList as $key=>$vo): ?><div class="m-pg-lst">
			<div class="pic">
            <?php if($vo['image']): ?><img src="<?php echo ($vo["image"]); ?>" width="120" height="80">
			<?php else: ?>
			<img src="images/fm.jpg" width="120" height="80"><?php endif; ?>
			</div>
			<div class="info">
				<div class="tt"><a href="<?php echo ($vo["aurl"]); ?>"><?php echo ($vo["title"]); ?></a></div>
				<div class="dsc"><?php echo ($vo["description"]); ?></div>
				<div class="time"><span>时间：<?php echo (format_time($vo["time"],'Y-m-d')); ?></span> <span>访问：<?php echo ($vo["views"]); ?></span></div>
			</div>
			<div class="f-cb"></div>
		</div><?php endforeach; endif; ?>
		
		<div class="m-page"><?php echo ($page); ?> </div>
	</div>
	<div class="g-sd">
		<div class="m-sdc">
			<div class="tt">栏目分类</div>
			<div class="cls">
				<ul>
                    <?php $listList = service("DuxCms","Label","categoryList",array("app"=>"DuxCms","label"=>"categoryList","parent_id"=>$categoryInfo['class_id'],"item"=>"list",)); if(is_array($listList)): foreach($listList as $list): ?><li><a href="<?php echo ($list["url"]); ?>"><?php echo ($list["name"]); ?></a></li><?php endforeach; endif; ?>
				</ul>
			</div>
		</div>
		<!--#include file="sidebar.html"-->
	</div>
	<div class="f-cb"></div>
</div>
<!--#include file="foot.html"-->
</body>
</html>